package cn.iocoder.yudao.module.infrastructure.wechat.service;

import cn.binarywang.wx.miniapp.api.WxMaService;
import cn.iocoder.yudao.framework.common.enums.UserTypeEnum;
import cn.iocoder.yudao.module.infrastructure.social.service.SocialClientService;
import me.chanjar.weixin.mp.api.WxMpService;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 *  支持自定义微信AppId及AppSecret构建微信公众号服务、微信小程序服务。
 *  默认优先使用数据库配置的微信AppId及AppSecret构建微信公众号服务、微信小程序服务。
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/03/07
 * @see SocialClientService
 */
public interface WechatClientService {

    WxMpService buildWxMpService(String clientId, String clientSecret);

    WxMaService buildWxMaService(String clientId, String clientSecret);

    WxMpService getWxMpService(UserTypeEnum userType);

    WxMaService getWxMaService(UserTypeEnum userType);

}
